<?php

//echo phpinfo();
global $xview,$dbi;


php_info();
/*
$sql = "SELECT DISTINCT idusr FROM zc_prev WHERE idtou = 2 ";
$u_user = $dbi->give_union($sql );
$sql = "SELECT DISTINCT email FROM users WHERE userid NOT IN ($u_user) AND visid > 0 AND activ = 't' ";
*/

/*
// Test Dmcg conversion in input lines
$o_dmcg = new Dmcg(230);

$t_input = $o_dmcg->UpdateInput();
foreach($t_input as $key => $s_input)
{
	$cost = $s_input['cost']/8.0;
	echo 'Date : '. odate($s_input['mtime']).' - Cost :'.$cost.'<br>';
}

*/
/*	
	rebuild index
	if(isset($_GET['binf']) && isset($_GET['bsup']))
	{
		$binf = $_GET['binf'];
		$bsup = $_GET['bsup'];
		for($i=$binf;$i<$bsup;$i++)
		{
			$o_obj = new Group($i);
			if(isset($o_obj->name))
			{
				echo '<br>'.$o_obj->name.':';
				$o_obj->ReBuildSeIndex();
			}
		}

	}
*/
/*
$cost = 3.00;
$cost = ceil($cost*1/4)*4;
printf("%0.2f",$cost );
*/
/*
$atime = mktime(18,30,0,1,30,2010);
echo Date('d/m/Y G:i',$atime).'<br>';
$itime = check_op_day($atime,1);
echo Date('d/m/Y G:i',$itime);
*/
//echo $xview->DisplayMenu();
/*
// Chargement de toutes les imputations
$sql = "SELECT gid,issueid,esttk,SUM(cost) AS cost FROM z_issues_cost ";
$sql .= "WHERE   ( istat != 'D' OR istat IS NULL ) ";
$sql .= "AND esttk = 2 ";
$sql .= "GROUP BY gid,issueid,esttk";
$t_cost = $dbi->fetch_all($sql,'array');
foreach($t_cost  as $key => $s_cost)
{
	$cost = $s_cost['cost'];
	$gid = $s_cost['gid'];	
	$iid = $s_cost['issueid'];
	if(!isset($t_iis[$iid]))
	{
		$sql = "SELECT icost,fcost,tcost FROM issues WHERE issueid = $iid ";
		$t_iis[$iid] = $dbi->fetch_row($sql,'array');
	}
	
	if($s_cost['esttk'] == 1)
	{
		if($t_iis[$iid]['icost'] <> $cost)
			echo '<br><a href="?module=issues&action=view&issueid='.$iid.'&gid='.$gid.'">'.$iid.'</a>';
	}
	elseif($s_cost['esttk'] == 2)
	{
		if($t_iis[$iid]['tcost'] <> $cost)
		{
			$obj_issue = new Issue($iid);
			$obj_issue->upd_total_cost(2);
			echo '<br><a href="?module=issues&action=view&issueid='.$iid.'&gid='.$gid.'">'.$iid.'</a>';
			
		}
	}	
	elseif($s_cost['esttk'] == 3)
	{
		if($t_iis[$iid]['icost'] <> $cost)
			echo '<br>'.$iid;
	}	
}


//$o_dmcg = new Dmcg(137);
//print_r($o_dmcg->GetValidor());

*/

//echo phpinfo();  
?>

<script 
CSS codes:

a[title]:after{
/*Workaround for Gecko*/
	content: "";
}

a[title]:hover{
/*Hides the anchor*/
	visibility: hidden;
}

a[title]:hover:after{
/*Shows the generated content*/
	content: attr(title) " (" attr(href) ")";
	visibility: visible;
}
/>

